package com.joysuch.wwyt.bp.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "物资记录列表")
public class BpStoreMaterialRecordListBean implements Serializable {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("出库/入库/盘点时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;

    @ApiModelProperty("登记员名称")
    private String registrationName;

    @ApiModelProperty("类别:出库/入库/盘点")
    private String type;

    @ApiModelProperty("物资变化数量")
    private String changeAmount;

    @ApiModelProperty("物资新的总量")
    private Double newAmount;
}
